<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户信息</title>
    <script src="js/axios.js"></script>
    <script src="js/jquery.js"></script>
</head>
<body>
<!--    <from id="fromData">-->
<!--        <input  type="text" name="name" placeholder="请输入您的姓名"  value=""><br>-->
<!--        <input type="text" name="age" placeholder="请输入您的年龄"  value=""><br>-->
<!--        <input type="text" name="address" placeholder="请输入您的地址" value=""><br>-->
<!--        <button type="button" onclick="tj()">点击提交</button>-->
<!--    </from>-->
<script>

    data:{
        var userList=new Array();
        userList.push({name:"张三",age:18,address:"北京"});
        userList.push({name:"lis",age:21,address:"成都"});

    }
    axios({
        method:"GET",
        url:"http://localhost:8080/user/q10.do",
        data:JSON.stringify(userList),
        contentType: "application/json;charset=utf-8"
    }).then(function (res){
        console.log(res.data)
    })
</script>
</body>
</html>